using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN LopEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: LopEntity</para>
	/// <para>Description: ClassLopEntity store data of table Lop</para>
	///</summary>

	[DataContract]
	public partial class LopEntity{


		private bool _InternalChangedIsNullLop_ID=true;
		private bool _IsNullLop_ID=true;
		private bool _InternalChangedIsNullMaLop=true;
		private bool _IsNullMaLop=true;
		private bool _InternalChangedIsNullTenLop=true;
		private bool _IsNullTenLop=true;
		private bool _InternalChangedIsNullSoSinhVienToiDa=true;
		private bool _IsNullSoSinhVienToiDa=true;
		private bool _InternalChangedIsNullMoTaLop=true;
		private bool _IsNullMoTaLop=true;
		private bool _InternalChangedIsNullGiaoVienPhuTrach_ID=true;
		private bool _IsNullGiaoVienPhuTrach_ID=true;
		private bool _InternalChangedIsNullNganhHoc_ID=true;
		private bool _IsNullNganhHoc_ID=true;
		private bool _InternalChangedIsNullKhoaHoc_ID=true;
		private bool _IsNullKhoaHoc_ID=true;
		private int _Lop_ID;
		private string _MaLop;
		private string _TenLop;
		private int _SoSinhVienToiDa;
		private string _MoTaLop;
		private int _GiaoVienPhuTrach_ID;
		private int _NganhHoc_ID;
		private int _KhoaHoc_ID;
		[DataMember]
		public bool IsNullLop_ID{
			get{return _IsNullLop_ID;}
			set{if(!_InternalChangedIsNullLop_ID)_IsNullLop_ID=value;}
		}
		[DataMember]
		public bool IsNullMaLop{
			get{return _IsNullMaLop;}
			set{if(!_InternalChangedIsNullMaLop)_IsNullMaLop=value;}
		}
		[DataMember]
		public bool IsNullTenLop{
			get{return _IsNullTenLop;}
			set{if(!_InternalChangedIsNullTenLop)_IsNullTenLop=value;}
		}
		[DataMember]
		public bool IsNullSoSinhVienToiDa{
			get{return _IsNullSoSinhVienToiDa;}
			set{if(!_InternalChangedIsNullSoSinhVienToiDa)_IsNullSoSinhVienToiDa=value;}
		}
		[DataMember]
		public bool IsNullMoTaLop{
			get{return _IsNullMoTaLop;}
			set{if(!_InternalChangedIsNullMoTaLop)_IsNullMoTaLop=value;}
		}
		[DataMember]
		public bool IsNullGiaoVienPhuTrach_ID{
			get{return _IsNullGiaoVienPhuTrach_ID;}
			set{if(!_InternalChangedIsNullGiaoVienPhuTrach_ID)_IsNullGiaoVienPhuTrach_ID=value;}
		}
		[DataMember]
		public bool IsNullNganhHoc_ID{
			get{return _IsNullNganhHoc_ID;}
			set{if(!_InternalChangedIsNullNganhHoc_ID)_IsNullNganhHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullKhoaHoc_ID{
			get{return _IsNullKhoaHoc_ID;}
			set{if(!_InternalChangedIsNullKhoaHoc_ID)_IsNullKhoaHoc_ID=value;}
		}
		[DataMember]
		public int Lop_ID{
			get{return _Lop_ID;}
			set{
				_Lop_ID=value;
				if(_Lop_ID!=null){
					_IsNullLop_ID=false;
					_InternalChangedIsNullLop_ID=true;
				}
			}
		}
		[DataMember]
		public string MaLop{
			get{return _MaLop;}
			set{
				_MaLop=value;
				if(_MaLop!=null){
					_IsNullMaLop=false;
					_InternalChangedIsNullMaLop=true;
				}
			}
		}
		[DataMember]
		public string TenLop{
			get{return _TenLop;}
			set{
				_TenLop=value;
				if(_TenLop!=null){
					_IsNullTenLop=false;
					_InternalChangedIsNullTenLop=true;
				}
			}
		}
		[DataMember]
		public int SoSinhVienToiDa{
			get{return _SoSinhVienToiDa;}
			set{
				_SoSinhVienToiDa=value;
				if(_SoSinhVienToiDa!=null){
					_IsNullSoSinhVienToiDa=false;
					_InternalChangedIsNullSoSinhVienToiDa=true;
				}
			}
		}
		[DataMember]
		public string MoTaLop{
			get{return _MoTaLop;}
			set{
				_MoTaLop=value;
				if(_MoTaLop!=null){
					_IsNullMoTaLop=false;
					_InternalChangedIsNullMoTaLop=true;
				}
			}
		}
		[DataMember]
		public int GiaoVienPhuTrach_ID{
			get{return _GiaoVienPhuTrach_ID;}
			set{
				_GiaoVienPhuTrach_ID=value;
				if(_GiaoVienPhuTrach_ID!=null){
					_IsNullGiaoVienPhuTrach_ID=false;
					_InternalChangedIsNullGiaoVienPhuTrach_ID=true;
				}
			}
		}
		[DataMember]
		public int NganhHoc_ID{
			get{return _NganhHoc_ID;}
			set{
				_NganhHoc_ID=value;
				if(_NganhHoc_ID!=null){
					_IsNullNganhHoc_ID=false;
					_InternalChangedIsNullNganhHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int KhoaHoc_ID{
			get{return _KhoaHoc_ID;}
			set{
				_KhoaHoc_ID=value;
				if(_KhoaHoc_ID!=null){
					_IsNullKhoaHoc_ID=false;
					_InternalChangedIsNullKhoaHoc_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END LopEntityBase*****************************************/
	/*****************************************************************************************************/
}

